package com.vdong.trade.order.entity.mo;

import com.vdong.trade.order.common.foundation.FoundationMO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @description: 分销订单冗余
 * @author: Mr.WangGang
 * @create: 2018-11-30 上午 11:33
 **/
@Data
@Entity
@Builder
@AllArgsConstructor
@RequiredArgsConstructor
@Table(name = "order_disb_redundancy")
public class OrderDisbRedundancyMO  {
    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "order_id")
    private Long orderId;

    @Column(name = "product_name")
    private String productName;

    @Column(name = "product_describe")
    private String productDescribe;

    @Column(name = "product_type")
    private String productType;

    @Column(name = "store_id")
    private Long storeId;

    @Column(name = "company_name")
    private String companyName;

    @Column(name = "merchant_name")
    private String merchantName;

    @Column(name = "buyer_name")
    private String buyerName;

    @Column(name = "buyer_wx_name")
    private String buyerWxName;

    @Column(name = "phone")
    private String phone;

    @Column(name = "pusher_name")
    private String pusherName;

    @Column(name = "pusher_wx_name")
    private String pusherWxName;

    @Column(name = "product_classify")
    private String productClassify;

    @Column(name="create_time")
    private Date createTime;

    @Column(name="update_time")
    private Date updateTime;

}
